<?php

namespace App\Repositories\Contracts;

interface PolicyUploadInterface
{
    /**
     *
     * @param $param
     * @return mixed
     */
    public function create($param);

    /**
     * 政策详情
     * @param $param
     * @return mixed
     */
    public function policyInfo($param);

    /**
     * 政策更新
     * @param $param
     * @return mixed
     */
    public function ajaxUpdate($param);

    /**
     * 简易更新政策
     * @param $param
     * @return mixed
     */
    public function itemUpdate($param);

    /**
     * 政策删除
     * @return mixed
     */
    public function deletePolicy($platform,$policyCode,$by='ByCode',$ext = '',$callbackUrl = '');
}